<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
</head>
<body>
    <script>
        axios({
            url:'http://hmajax.itheima.net/api/province'
        }).then(function(response){
            console.log(response)
            console.log(response.data.list.join(','))
        })
    </script>
</body>
</html>